package com.marvels.financial.funds.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.github.pagehelper.Page;
import com.marvels.financial.funds.dto.CalculateConfirmPaymentDTO;
import com.marvels.financial.funds.dto.FillPaymentDetailDTO;
import com.marvels.financial.funds.dto.McfeBhCashPaymentConfirmDTO;
import com.marvels.financial.funds.dto.TransferConditionDTO;


public interface McfeBhCashPaymentConfirmMapper {

	/**
	 * 插入渤海资金还款确认信息
	 * @param record
	 * @return
	 */
    public int insertSelective(McfeBhCashPaymentConfirmDTO record);
    
    
    /**
     * 根据Id查询渤海资金还款确认信息
     * @param id
     * @return
     */
    public McfeBhCashPaymentConfirmDTO selectById(@Param("id") Long id );
    
    
    /**
     * 查询渤海资金还款确认信息
     * @param conditionDTO
     * @return
     */
    public Page<McfeBhCashPaymentConfirmDTO> selectList(TransferConditionDTO conditionDTO);
    
    
    
    /**
	 * 计算渤海还款确认
	 * @param paymentConfirmDTO
	 * @return
	 */
	public CalculateConfirmPaymentDTO  calculateConfirmPayment(McfeBhCashPaymentConfirmDTO paymentConfirmDTO);
	
	
	/**
	 * 更新渤海还款确认通过id
	 * @param paymentConfirmDTO
	 * @return
	 */
	public int updateById(McfeBhCashPaymentConfirmDTO paymentConfirmDTO);
	
	
	/**
	 * 查询填充还款明细参数模板列表
	 * @param paymentConfirmDTO
	 * @return
	 */
	public  List<FillPaymentDetailDTO> selectFillPaymentList(McfeBhCashPaymentConfirmDTO paymentConfirmDTO);

}